package cn.sun.pet.service;

import cn.sun.basic.service.IBaseService;
import cn.sun.basic.util.PageBean;
import cn.sun.pet.domain.Pet;
import cn.sun.pet.domain.SearchMasterMsg;
import cn.sun.pet.query.SearchMasterMsgQuery;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg,SearchMasterMsgQuery> {

    void publish(SearchMasterMsg searchMasterMsg, Long id);

    PageBean<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long id);

    PageBean<SearchMasterMsg> processed(SearchMasterMsgQuery query, Long id);

    PageBean<SearchMasterMsg> query(SearchMasterMsgQuery query, Long id);

    void handle(Pet pet);
}
